@layout("/common/_container.html",{js:["/assets/modular/system/project/project_flow.js"]}){
<link rel="stylesheet" href="${ctxPath}/assets/common/css/project.css?v=${constants.getReleaseVersion()}" media="all">
<style>
    .layui-form-select {
        width: 120px;
    }
    .layui-form-item .layui-inline {
        margin-bottom: 0;
    }
</style>

<div class="layui-body-header">
    <span class="layui-body-header-title">工程流程图表</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="condition" class="layui-input" type="text" placeholder="工程名称"/>
                            </div>
                            <div class="layui-inline">
<!--                                <span> 是否确认开业时间:</span>-->
                                <div class="layui-inline" style="display: inline-block;">
                                    <select name="openYn" lay-filter="openYn" id="openYn"
                                            lay-search="openYn">
                                        <option value="">开业时间</option>
                                        <option value="Y">已确认</option>
                                        <option value="N">未确认</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline" >
<!--                                <span> 工程是否终止:</span>-->
                                <div class="layui-inline" style="display: inline-block;">
                                    <select name="endYn" lay-filter="endYn" id="endYn"
                                            lay-search="endYn">
                                        <option value="">工程终止状态</option>
                                        <option value="Y">已终止</option>
                                        <option value="N">未终止</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
<!--                                <span> 收银账号:</span>-->
                                <div class="layui-inline" style="display: inline-block;">
                                    <select name="cashierAccountYn" lay-filter="cashierAccountYn" id="cashierAccountYn"
                                            lay-search="cashierAccountYn">
                                        <option value="">收银账号状态</option>
                                        <option value="Y">已建</option>
                                        <option value="N">未建</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline" style="">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="taskFlowTable" lay-filter="taskFlowTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="tableBar">
    <a class="layui-link" lay-event="flowChart">查看进度明细</a>
</script>

<script id="kfzjTpl" type="text/html">
    {{#  if(d.kfzj == "开发总监已确认"){ }}
    {{d.kfzjName}}
    {{#  }else{ }}
    {{d.kfzj}}
    {{#  } }}
</script>
<script id="gczjTpl" type="text/html">
    {{#  if(d.gczj == "工程总监已确认"){ }}
    {{d.gczjName}}
    {{#  }else{ }}
    {{d.gczj}}
    {{#  } }}
</script>
<script id="yyzjTpl" type="text/html">
    {{#  if(d.yyzj == "营运总监已确认"){ }}
    {{d.yyzjName}}
    {{#  }else{ }}
    {{d.yyzj}}
    {{#  } }}
</script>
<script id="statusTpl1" type="text/html">
    {{#  if(d.allotYy == "已指定营运经理"){ }}
    {{d.yyjlname}}
    {{#  }else{ }}
    {{d.allotYy}}
    {{#  } }}
</script>
<script id="statusTpl2" type="text/html">
    {{#  if(d.allotDd == "已指定督导"){ }}
    {{d.ddname}}
    {{#  }else{ }}
    {{d.allotDd}}
    {{#  } }}
</script>
<script id="statusTpl3" type="text/html">
    {{#  if(d.openDate == ""){ }}
   未开业
    {{#  }else{ }}
   已开业：{{layui.util.toDateString(d.openDate, 'MM-dd')|| ''}}
    {{#  } }}
</script>


@}